/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.assignment2.question3.violatingLSP.Impl;

/**
 *
 * @author Ziyaad
 */
public class AthletePerson extends Person{
    
    public static Person getNewPerson()
    {
        return new AthletePerson();
    }
    
    public void setHeight(double ht) {
        height = ht ;
        weight = ht;
    }
    
    public void setWeight(double wt) {
        weight = wt;
        height = wt;
    }
    
}
